package com.framework.modules.dataview.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 用户直播信息
 * @author xfy
 * @date 2020/10/26
 */
@TableName("view_user_info_live")
public class ViewUserInfoLiveEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户编号
     */
    @TableId
    private Integer uid;

    /**
     * 用户直播场次id
     */
    private String liveRoundId;
    /**
     * 用户昵称
     */
    private String nickname;

    /**
     * 直播截图
     */
    private String snapshotImage;

    /**
     * 累计直播时间 单位秒数
     */
    private Integer totalSeconds;
    /**
     * 封禁消息
     */
    private String forbiddenMsg;
    /**
     * 解封时间
     */
    private Integer forbiddenEndTime;
    /**
     * 直播状态 直播=1,未直播=0,禁播=-1,断播=-2
     */
    private Integer state;

    /**
     * 头像
     */
    private String avanta;
    /**
     * 是否推荐 数字越高，推荐级别越高
     */
    private Integer rank;
    /**
     * 直播室标题
     */
    private String title;
    /**
     * 直播室封面
     */
    private String coverImage;
    /**
     * 直播室密码
     */
    @JSONField(serialize=false)
    private String password;
    /**
     * 人气
     */
    private Integer popCount;
    /**
     * 累计礼物数
     */
    private Integer giftCount;
    /**
     * 在线人数
     */
    private Integer onlineCount;

    /**
     * 直播开始时间
     */
    private Integer startDate;
    /**
     * 直播结束时间
     */
    private Integer endDate;

    public String getLiveRoundId() {
        return liveRoundId;
    }

    public void setLiveRoundId(String liveRoundId) {
        this.liveRoundId = liveRoundId;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvanta() {
        return avanta;
    }

    public void setAvanta(String avanta) {
        this.avanta = avanta;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCoverImage() {
        return coverImage;
    }

    public void setCoverImage(String coverImage) {
        this.coverImage = coverImage;
    }

    public Integer getPopCount() {
        return popCount;
    }

    public void setPopCount(Integer popCount) {
        this.popCount = popCount;
    }

    public Integer getOnlineCount() {
        return onlineCount;
    }

    public void setOnlineCount(Integer onlineCount) {
        this.onlineCount = onlineCount;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getStartDate() {
        return startDate;
    }

    public void setStartDate(Integer startDate) {
        this.startDate = startDate;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGiftCount() {
        return giftCount;
    }

    public void setGiftCount(Integer giftCount) {
        this.giftCount = giftCount;
    }

    public Integer getTotalSeconds() {
        return totalSeconds;
    }

    public void setTotalSeconds(Integer totalSeconds) {
        this.totalSeconds = totalSeconds;
    }

    public Integer getEndDate() {
        return endDate;
    }

    public void setEndDate(Integer endDate) {
        this.endDate = endDate;
    }

    public String getSnapshotImage() {
        return snapshotImage;
    }

    public void setSnapshotImage(String snapshotImage) {
        this.snapshotImage = snapshotImage;
    }

    public String getForbiddenMsg() {
        return forbiddenMsg;
    }

    public void setForbiddenMsg(String forbiddenMsg) {
        this.forbiddenMsg = forbiddenMsg;
    }

    public Integer getForbiddenEndTime() {
        return forbiddenEndTime;
    }

    public void setForbiddenEndTime(Integer forbiddenEndTime) {
        this.forbiddenEndTime = forbiddenEndTime;
    }
}
